package com.example.fashionshoes.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.fashionshoes.pojo.po.Category;
import com.example.fashionshoes.pojo.vo.GoodsDetailVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CategoryMapper extends BaseMapper<Category> {
    /**
     * 获取指定商品包含分类
     * @param id 商品id
     * @return 指定商品
     */
    GoodsDetailVO getGoodsDetail(@Param("id") Integer id);
}
